package com.aaa.service;

import com.aaa.entity.ViewTestResultSds;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;
import java.util.Map;

/**
 * (ViewTestResultSds)表服务接口
 *
 * @author
 * @since 2022-07-08 10:00:04
 */
public interface ViewTestResultSdsService {


    /**
     * 分页查询
     *
     * @param viewTestResultSds 筛选条件
     * @param pageRequest      分页对象
     * @return 查询结果
     */
    Page<ViewTestResultSds> queryByPage(ViewTestResultSds viewTestResultSds, PageRequest pageRequest);
    /**
     * @create by: feng (zhaixing@163.com)
     * @description: 根据id查询对应信息
     * @create time: 2022/7/15 15:44
     * @param viewTestResultSds
     * @return Map
     */
    ViewTestResultSds queryRequestById(ViewTestResultSds viewTestResultSds);
    /**
     * @create by: feng (zhaixing@163.com)
     * @description: 查询所有数据
     * @create time: 2022/7/15 16:14
     * @param
     * @return Map<String,Integer>
     */
    Map<String,Integer> queryAllPlanSds();
    /**
     * @create by: feng (zhaixing@163.com)
     * @description: 查询所有数据
     * @create time: 2022/7/19 21:04
     * @param
     * @return ViewTestResultSds
     */
    List<ViewTestResultSds> queryAllResultSds();
    /**
     * @create by: feng (zhaixing@163.com)
     * @description: 删除
     * @create time: 2022/7/22 20:08
     * @param testId
     * @return
     */
    boolean deleteResultById(String testId);
}
